<!DOCTYPE HTML>
<html>
<head>
    <title>项目管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/page-min.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="../assets/js/bui.js"></script>
    <script type="text/javascript" src="../js/itemMgr.js"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <form id="searchForm" class="form-horizontal span24">
            <div class="row">
                <div class="control-group span8">
                    <label class="control-label">美容项目名称：</label>
                    <div class="controls">
                        <input type="text" class="control-text" name="datasetName"  data-rules="{required:false,sid:0}">
                    </div>
                </div>
                <div id="searchBtn" class="control-group" style="float: left;padding-right: 20px;"></div>
                <div id="addBtn" class="control-group" style="float: left;padding-right: 20px;"></div>
                <div id="deleteBtn" class="control-group"></div>
            </div>
        </form>
    </div>
    <div class="span18" style="text-align:center;margin: 0 auto;float: none;width: 100%">
        <div id="grid"></div>
    </div>
</div>
<!-- 初始隐藏 dialog内容 -->
<div id="content" class="hide">
    <form id="J_Form" class="form-horizontal" action="/item/add/" method="post" enctype="multipart/form-data">
        <div class="control-group">
            <label class="control-label"><s>*</s>美容项目名称：</label>
            <div class="controls">
                <label>
                    <input name="name" type="text" class="input-large" data-rules="{required : true}"
                           data-messages="{required:'美容项目名称不能为空'}">
                </label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>图片：</label>
            <div class="controls" id="modelDiv">
                <input type="file" name="file">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>流程：</label>
            <div class="controls" id="flowDiv">
                <textarea style="height:20px;width: 400px;" name="flow" id="flow" rows="2" cols="10" data-rules="{required : true}"
                          data-messages="{required:'流程不能为空'}"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>功效：</label>
            <div class="controls" id="funcDiv">
                <textarea style="height:20px;width: 400px;" name="function" id="function" rows="2" cols="10" data-rules="{required : true}"
                          data-messages="{required:'功效不能为空'}"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>注意事项：</label>
            <div class="controls" id="tipsDiv">
                <textarea style="height:20px;width: 400px;" name="tips" id="tips" rows="2" cols="10" data-rules="{required : true}"
                          data-messages="{required:'注意事项不能为空'}"></textarea>
            </div>
        </div>
    </form>
</div>
</div>
</body>
</html>  